<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 加载部部样式及META信息 -->
    <title>管理员</title>
    <div th:replace="common/meta"></div>
    <script>
        require.config.jsname = "backend/user/index";
        require.config.modulename = "admin"
        require.config.controllername = "auth.admin"
        require.config.actionname = "edit"
        require.config.moduleurl = "/admin/add"
    </script>
</head>

<body class="inside-header inside-aside is-dialog">
<div id="main" role="main">
    <div class="tab-content tab-addtabs">
        <div id="content">
            <div class="row">
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                    <div class="content">
                        <form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="/sys/processLine/config">
                            <input type="hidden" th:value="${processLine.id}" name="process_line_id">
                            <div class="form-group">
                                <label for="role_ids" class="control-label col-xs-12 col-sm-2">所属组别:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <select id="role_ids"  class="form-control selectpicker" multiple="true" name="device_ids">
                                        <option th:each="item: ${list}" th:value="${item.id}" th:text="${item.title}" th:selected="${item.flag}"></option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group layer-footer">
                                <label class="control-label col-xs-12 col-sm-2"></label>
                                <div class="col-xs-12 col-sm-8">
                                    <button type="submit" class="btn btn-success btn-embossed disabled">确定</button>
                                    <button type="reset" class="btn btn-default btn-embossed">重置</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:replace="common/script"></div>
</body>
</html>